package security.Authentication.Base;

import java.net.InetAddress;

/**
 * Interface for an authentication request
 * @author Andreas Carmvall
 */
public abstract class AuthenticationRequest {

	/**
	 * The IP-address from where the request was sent
	 */
	private InetAddress address;
	
	/**
	 * Class constructor
	 * @param address the address from where the request was sent
	 */
	public AuthenticationRequest(InetAddress address) {
		this.address = address;
	}
	
	/**
	 * Get the IP-address from where the request was sent
	 * @return the IP-address
	 */
	public InetAddress getAddress() {
		return address;
	}
}
